﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace A5Site
{
    public partial class Home : System.Web.UI.Page
    {
        bool first = true;
        protected void Page_Load(object sender, EventArgs e)
        {
            if (first)
            {
                HttpCookie myCookie = new HttpCookie("cook");
                myCookie.Expires = DateTime.Now.AddMinutes(10);
                Response.Cookies.Add(myCookie);
                first = false;
            }


            Label2.Text = A5Site.Global.counter.ToString();

        }

        protected void Button1_Click(object sender, EventArgs e)
        {

        }
    }
}